package com.example.doctor.service;

import com.example.doctor.dto.req.*;
import com.example.doctor.dto.resp.*;
import com.github.pagehelper.PageInfo;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

public interface PatientService {

    List<GroupListRsp> GroupList();

    Map<String,Object> GroupPatients(GroupPatientsReq groupPatientsReq);

    PageInfo<GroupPatientsDb> NoInGroupPatients(GroupPatientsReq groupPatientsReq);

    HashMap<String, Object> EditGroupName(EditGroupNameReq editGroupNameReq);

    HashMap<String, Object> AddGroup(AddGroupReq addGroupReq);

    HashMap<String, Object> DelGroup(DelGroupReq delGroupReq);

    HashMap<String, Object> EditGroup(EditGroupReq editGroupReq);

    HashMap<String, Object> PatientInfo(PatientInfoReq patientInfoReq);

    PageInfo<xRxListRsp> xRxList(xRxListReq xRxListReq);

    PageInfo<zRxListRsp> zRxList(xRxListReq xRxListReq);

    PageInfo<DiagnosisListRsp> DiagnosisList(xRxListReq xRxListReq);

    HashMap<String,Object> DiagnosisIn(DiagnosisInReq diagnosisInReq);

    HashMap<String, Object> DiagnosisOut(DiagnosisInReq diagnosisInReq);

    List<Map<String, Object>> PRxList(int page,int limit,long PID);
}
